package com.kt.uokos.yimo.service;

import com.kt.uokos.yimo.dao.Role;

import java.time.LocalDateTime;
import java.util.List;
import java.util.Set;

/**
 * @Description TODO
 * @ClassName RoleService
 * @Date 2021/12/20 下午6:02
 * @Author KangTao
 */
public interface RoleService {

    Set<String> queryByIds(Integer[] roleIds);

    List<Role> querySelective(String name, Integer page, Integer limit, String sort, String order);

    Role findById(Integer id);

    public void add(Role role) ;

    public void deleteById(Integer id);

    public void updateById(Role role) ;

    public boolean checkExist(String name);

    public List<Role> queryAll();

}
